<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

<head>
	<title>dicitem</title>
	<meta http-equiv="content-type" content="text/html;charset=utf-8" />
	<meta name="generator" content="Geany 0.20" />
	<script type='text/javascript' src='ajax.js'></script>
</head>

<body>

<?php

require_once($_SERVER['DOCUMENT_ROOT']."/classes/System/osmetadata.php");

$tovar = $metadata->dictionaries->byname("Товар");
$tovar->Наименование = "Молоко";
$tovar->ЦенаП = 7.45;
//$price = $tovar->ЦенаП;
//$price = 8;

//echo $tovar->fields->byuuid("uuid658528fa41651ebb3a643ef286d391f2")->form->get($tovar);
//echo $tovar->fields->byuuid("uuidff7622100858efb9c3890fcf44d1bb01")->form->get($tovar);
echo $tovar->defaultitemform()->get();

echo "<pre>".print_r($tovar,1)."</pre>";

?>

	
</body>

</html>
